package sjtu.ist.warehouse4ws.service.cust;

import java.util.List;

import sjtu.ist.warehouse4ws.model.CustFileinfo;
import sjtu.ist.warehouse4ws.model.Fileinfo;
import sjtu.ist.warehouse4ws.vo.FullSearchVO;



public interface CustFileInfoService {
	List<CustFileinfo> getCustFileInfoList();
	void saveCustFileInfo(CustFileinfo fileInfo);
	void updateCustFileInfo(CustFileinfo fileInfo);
	List<CustFileinfo> searchFileInfo(String keyWord);//模型普通搜索
	List<CustFileinfo> searchDetailFileInfo(String keyWord1, String keyWord2, String keyWord3,
										String keyWord4, String keyWord5, String keyWord6);//模型高级搜索
	List<CustFileinfo> findCustFileInfoByName(String fileName);
	List<FullSearchVO> getAllFullSearchResult(String keyWord);
	List<FullSearchVO> getAllDetailSearchResult(String keyWord1, String keyWord2, String keyWord3,
										String keyWord4, String keyWord5, String keyWord6);
	CustFileinfo getCustFileInfo(String id);
	void deleteCustFileInfo(String id);
	
	List<CustFileinfo> findFileId(String fileName,String project,int type);
}
